package net.huashitong.ssydt.user.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 登录后返回信息
 * @author huiyang.yu
 */
@ApiModel(description = "登录后返回信息")
public class LoginOutVO implements Serializable {

    private static final long serialVersionUID = 8786617596937719390L;

    @ApiModelProperty(value = "凭证字段，经过Base64加密传输")
    private String token;//token（Base64）

    @ApiModelProperty(value = "用户id")
    private String userId;//用户id

    @ApiModelProperty(value = "凭证过期时间",dataType = "Long")
    private Long expiration;//凭证过期时间

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getExpiration() {
        return expiration;
    }

    public void setExpiration(Long expiration) {
        this.expiration = expiration;
    }
}
